package com.cn.model;

import java.util.Date;

public class StudentModel {
	 private int id;
	 private String code;
	 private String sname;
	 private int age;
	 private double score;
	 private Date birthday;
	 
	public StudentModel() {
	}

	public StudentModel(int id, String code, String sname, int age, double score, Date birthday) {
		this.id = id;
		this.code = code;
		this.sname = sname;
		this.age = age;
		this.score = score;
		this.birthday = birthday;
	}


	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getSname() {
		return sname;
	}
	public void setSname(String sname) {
		this.sname = sname;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public double getScore() {
		return score;
	}
	public void setScore(double score) {
		this.score = score;
	}
	
	
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	@Override
	public String toString() {
		return "StudentModel [id=" + id + ", code=" + code + ", sname=" + sname + ", age=" + age + ", score=" + score
				+ ", birthday=" + birthday + "]";
	}
	
}
